﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YasharEl.Infrastructure.PresentationModel.Views
{
    /// <summary>
    /// Allows for retrieval of the active and main views.
    /// </summary>
    public interface IViewTracking
    {
        /// <summary>
        /// Gets the view that is active within the interface.
        /// </summary>
        /// <value>The active view.</value>
        IView ActiveView
        {
            get;
        }

        /// <summary>
        /// Gets the active workspace view. 
        /// This is the primary content in the interface, such as a document. 
        /// In the shell this is the selected tab content in the workspace region. 
        /// It may or may not be the equal to the <see cref="ActiveView"/>. 
        /// </summary>
        /// <value>The active workspace view.</value>
        IView MainView
        {
            get;
        }
    }
}
